package com.android.jumishangcheng.model.group;

import com.google.gson.Gson;
import com.zhy.http.okhttp.callback.Callback;

import okhttp3.Response;

/**
 * Created by Administrator on 2017/7/5.
 */

public abstract class StoreStreetDataCallback extends Callback<StoreStreetData> {

    @Override
    public StoreStreetData parseNetworkResponse(Response response, int id) throws Exception {
        String string = response.body().string();
        StoreStreetData Data = new Gson().fromJson(string, StoreStreetData.class);
        return Data;
    }
}
